//
//  LGTestViewController.swift
//  微博框架
//
//  Created by ming on 16/10/4.
//  Copyright © 2016年 ming. All rights reserved.
//

import UIKit

class LGTestViewController: LGBasiViewController {

  @objc  func nextVC(){
    
        navigationController?.pushViewController(LGTestViewController(), animated: true)
    
    }
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
            title = "第\(navigationController?.childViewControllers.count ?? 0)个"
      
        navItem.rightBarButtonItem = UIBarButtonItem(title: "下一个", fontSize: 14, target: self, action: #selector(nextVC))
    }

}
